package com.easyse.servicetechqa.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.easyse.model.DO.techqa.Techqa;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

/**
* @author 25405
* @description 针对表【share_techqa(技术问答表
)】的数据库操作Mapper
* @createDate 2022-10-23 20:02:13
* @Entity com.easyse.Techqa
*/
@Mapper
@Component
public interface TechqaMapper extends BaseMapper<Techqa> {

    /**
     * 更新技术问答状态
     * @param id
     * @param status
     */
    void updateStatus(Long id, int status);

    /**
     * 更新帖子类型
     * @param id
     * @param type
     */
    void updateType(Long id, int type);

}





